package com.xiaxiaoge.tutorialmod.items;

import com.xiaxiaoge.tutorialmod.TutorialMod;
import com.xiaxiaoge.tutorialmod.items.vehicle.VictorySwiftTwoItem;
import net.minecraft.world.item.Item;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;

/**
 * @author 夏小哥
 * @version 1.0
 */
public class ModVehicleItems {
    /**
     * 延迟注册
     */
    public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, TutorialMod.MOD_ID);

    /**
     *  胜利飞燕号
     */
    public static final RegistryObject<Item> VICTORIOUS_SWIFT_TWO_ITEM = ITEMS.register("victorious_swift_two_item",
            () -> new VictorySwiftTwoItem(new Item.Properties().tab(ModCreativeModeTab.TUTORIAL_TAB)));



    /**
     * 将事件总线参数传递
     */
    public static void register(IEventBus eventBus) {
        ITEMS.register(eventBus);
    }

}
